﻿@* Licensed to the Chroma Control Contributors under one or more agreements. *@
@* The Chroma Control Contributors licenses this file to you under the MIT license. *@
@* See the LICENSE file in the project root for more information. *@

<button class="tab-item @StateClass" role="tab" aria-selected="@AriaSelected" type="button" tabindex="@TabIndex" @onclick="OnSelect">
    <span>
        @if (Icon != Components.Icon.IconStyle.None)
        {
            <Icon Style="Icon" aria-hidden="true" tabindex="-1" />
        }
        @Label
    </span>
</button>
